= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 A u t h o r :   Y o u n g w o o k   K i m   ( K o r e a n ) 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 C o n t a c t :   r u m i a 0 6 0 1 @ g m a i l . c o m 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 d\
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
    \  XD  tǌ? 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 ĳ  \X  |ǀt0  L8,   @  %,   ̬    %<\  l1.   C   Xϔ  Xֽ  D  ̹   t  ( C \  Tܴ|  1\    Xϔ  XՔ  )) .   t  %@  ι@  s c a n f (   0  %  DՔ  Ŕ  D\   g e t c h )   h\,   ̬  m  (<\    \  Lବ<\,   %@  DŤ¤DŸ|  tǩ\  p r i n t f (   TtD  ɰƔ  \ap  c l e a r ) h\  l1`    .   X̹  t  ̹  @  lt,   =  Ŕ  C U I ,   I  x䲔  t  .   t  X  D  ̹ܴ  t  ɰt,     U n i t y   tǘ  U n r e a l         ĳ  D     .   X̹,     @  8ǽt  䲔  t  .   \|  \֩\  X  ̳,   M e c h a n i n / L e g a c y   `ȲTtX  8X1,   T  @  =D  \  T  p  T/ T  `x  C P U &   D4ĳ  Xϔ  Xֽ      tŔ  ȹ   ǔ    .   t  ȹ|  tհ`    DL? 
 
 
 
 
 
 . .   i m a g e : :   i n t r o d u c t i o n - P u y o P u y o . p n g 
 
       : c l a s s :   i n l i n e d - r i g h t 
 
 
 
 . .   c o d e - b l o c k : :   p y t h o n 
 
       : l i n e n o s : 
 
 
 
       i m p o r t   s y s ,   p y g a m e 
 
       p y g a m e . i n i t ( ) 
 
 
 
       s i z e   =   w i d t h ,   h e i g h t   =   2 2 0 ,   1 4 0 
 
       s p e e d   =   [ 2 ,   2 ] 
 
       b l a c k   =   0 ,   0 ,   0 
 
 
 
       s c r e e n   =   p y g a m e . d i s p l a y . s e t _ m o d e ( s i z e ) 
 
 
 
       b a l l   =   p y g a m e . i m a g e . l o a d ( " i n t r o d u c t i o n - P u y o P u y o . p n g " ) 
 
       b a l l r e c t   =   b a l l . g e t _ r e c t ( ) 
 
 
 
       w h i l e   1 : 
 
               f o r   e v e n t   i n   p y g a m e . e v e n t . g e t ( ) : 
 
                       i f   e v e n t . t y p e   = =   p y g a m e . Q U I T :   s y s . e x i t ( ) 
 
 
 
               b a l l r e c t   =   b a l l r e c t . m o v e ( s p e e d ) 
 
               i f   b a l l r e c t . l e f t   <   0   o r   b a l l r e c t . r i g h t   >   w i d t h : 
 
                       s p e e d [ 0 ]   =   - s p e e d [ 0 ] 
 
               i f   b a l l r e c t . t o p   <   0   o r   b a l l r e c t . b o t t o m   >   h e i g h t : 
 
                       s p e e d [ 1 ]   =   - s p e e d [ 1 ] 
 
 
 
               s c r e e n . f i l l ( b l a c k ) 
 
               s c r e e n . b l i t ( b a l l ,   b a l l r e c t ) 
 
               p y g a m e . d i s p l a y . f l i p ( ) 
 
 
 
 ( C   Xϔ  Xֽ  X    -   ̿̿) 
 
 
 
 
 
 . .   i m a g e : :   i n t r o d u c t i o n - T P S . p n g 
 
       : c l a s s :   i n l i n e d - r i g h t 
 
 
 
 . .   c o d e - b l o c k : :   p y t h o n 
 
       : l i n e n o s : 
 
 
 
       i m p o r t   s y s ,   p y g a m e 
 
       p y g a m e . i n i t ( ) 
 
 
 
       s i z e   =   w i d t h ,   h e i g h t   =   2 2 0 ,   1 4 0 
 
       s p e e d   =   [ 2 ,   2 ] 
 
       b l a c k   =   0 ,   0 ,   0 
 
 
 
       s c r e e n   =   p y g a m e . d i s p l a y . s e t _ m o d e ( s i z e ) 
 
 
 
       b a l l   =   p y g a m e . i m a g e . l o a d ( " i n t r o d u c t i o n - T P S . p n g " ) 
 
       b a l l r e c t   =   b a l l . g e t _ r e c t ( ) 
 
 
 
       w h i l e   1 : 
 
               f o r   e v e n t   i n   p y g a m e . e v e n t . g e t ( ) : 
 
                       i f   e v e n t . t y p e   = =   p y g a m e . Q U I T :   s y s . e x i t ( ) 
 
 
 
               b a l l r e c t   =   b a l l r e c t . m o v e ( s p e e d ) 
 
               i f   b a l l r e c t . l e f t   <   0   o r   b a l l r e c t . r i g h t   >   w i d t h : 
 
                       s p e e d [ 0 ]   =   - s p e e d [ 0 ] 
 
               i f   b a l l r e c t . t o p   <   0   o r   b a l l r e c t . b o t t o m   >   h e i g h t : 
 
                       s p e e d [ 1 ]   =   - s p e e d [ 1 ] 
 
 
 
               s c r e e n . f i l l ( b l a c k ) 
 
               s c r e e n . b l i t ( b a l l ,   b a l l r e c t ) 
 
               p y g a m e . d i s p l a y . f l i p ( ) 
 
 
 
 (  Ȳ      X  -   T P S ) 
 
 
 
 䲉Ո  tǌ@    ȹ|  tհ`    .   tǌ  tǀ  \8   D  ̹    ǌ  t  Ȕ  tlX  xƀ  |t췬t.   tǌ@  Xϔ  XֽX  D     .       @  X՘X  tǌ  \ȸ@  X՘X  Tܴ@  pX  ٳX Ĭ|  t.   ( xƀ    |tǘ  xƀ    |D  xTt)     \8    Tܴ|  1XՔ  ̹  Xt  .     X  @  tǌ@  4t  D̲  |t췬t0  L8,   |   i m p o r t   p y g a m e  ̹  <t    |@  tǌX      `    ǌ  .   1t  䲔  t.   tǌ@    X  ĳ     .       @  tǌt  ܴ,   ȹƤ,   |  X  |  UxXՔ  %   (  h,   ĳ  0,     `X0,   t  $  X  %   (  hD  X0  L8,   C U I    D̲  G U I   Xֽ  䲔  t.     X  @  tǌt  tl  0X 0  L8,   tǌX  h@  (t  D̲  tǤ(   ht   <\  p  pX  ٳ  () <\  䲔  t. 
 
 
 
 
 
 . .   i m a g e : :   i n t r o d u c t i o n - B a t t l e s h i p . p n g 
 
       : c l a s s :   i n l i n e d - r i g h t 
 
 
 
 . .   c o d e - b l o c k : :   p y t h o n 
 
       : l i n e n o s : 
 
 
 
       i m p o r t   s y s ,   p y g a m e 
 
       p y g a m e . i n i t ( ) 
 
 
 
       s i z e   =   w i d t h ,   h e i g h t   =   2 2 0 ,   1 4 0 
 
       s p e e d   =   [ 2 ,   2 ] 
 
       b l a c k   =   0 ,   0 ,   0 
 
 
 
       s c r e e n   =   p y g a m e . d i s p l a y . s e t _ m o d e ( s i z e ) 
 
 
 
       b a l l   =   p y g a m e . i m a g e . l o a d ( " i n t r o d u c t i o n - B a t t l e s h i p . p n g " ) 
 
       b a l l r e c t   =   b a l l . g e t _ r e c t ( ) 
 
 
 
       w h i l e   1 : 
 
               f o r   e v e n t   i n   p y g a m e . e v e n t . g e t ( ) : 
 
                       i f   e v e n t . t y p e   = =   p y g a m e . Q U I T :   s y s . e x i t ( ) 
 
 
 
               b a l l r e c t   =   b a l l r e c t . m o v e ( s p e e d ) 
 
               i f   b a l l r e c t . l e f t   <   0   o r   b a l l r e c t . r i g h t   >   w i d t h : 
 
                       s p e e d [ 0 ]   =   - s p e e d [ 0 ] 
 
               i f   b a l l r e c t . t o p   <   0   o r   b a l l r e c t . b o t t o m   >   h e i g h t : 
 
                       s p e e d [ 1 ]   =   - s p e e d [ 1 ] 
 
 
 
               s c r e e n . f i l l ( b l a c k ) 
 
               s c r e e n . b l i t ( b a l l ,   b a l l r e c t ) 
 
               p y g a m e . d i s p l a y . f l i p ( ) 
 
 
 
 ( tǌ  X  -   0) 
 
 
 
 }XՐt,   tǌ@   	   ( Xϔ  Xֽ@      X՘) X    ȑ  \  	   (   @      X՘) X    ȑ  \X  D  P   䲔  t.   tǌ@  t  X  tX  @  Űt  .   tǃt  tǌD    t t.   T  \    D  \ \  \֩t  D  ̹ܴ  1 x     \   D̲  t  ( h      D  0Ɣ  t  ! ) ,   Xϔ  Xֽ  t  D̲  T    Xֽ  D  \Ո@  T)t    t  ( <`,   y  `t  Ĭ  T)XՌ     t! ) ,   \Ո@  tǌD  ĳt  ̹  X. 
 
 
 
 
 
 